package observerNotification;


/**
 * Message: changed state (has connected, has disconnected..)
 * 
 * <p>
 * <ul>
 * <li>Project: 	ChatSystemG3</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 * @see ObserverNotification
 */
public class ChangingStateObserverNotification extends ObserverNotification {

	private String username;
	public EnumState state;
	
	public static enum EnumState {CONNECTED,DISCONNECTED, SHARING_FILE };

	public ChangingStateObserverNotification(String username, EnumState state) {
		this.username=username;
		this.state=state;
	}

	public EnumState getState() {
		return state;
	}

	public void setState(EnumState state) {
		this.state = state;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
